/**
 * 
 */
package net.jadoth.lang.signalthrows;

/**
 * Thrown to signals the outer context to return as soon as possible, 
 * returning a value corresponding to the current state of the outer context's execution
 * (i.e. the current value of a count variable, etc.). 
 * 
 * @author Thomas Muenz
 *
 */
public class ThrowReturn extends BranchingThrow
{
	///////////////////////////////////////////////////////////////////////////
	// constants        //
	/////////////////////
	
	private static final long serialVersionUID = 701797439650463255L;


	
	
	///////////////////////////////////////////////////////////////////////////
	// constructors     //
	/////////////////////

	public ThrowReturn()
	{
		super();
	}

	public ThrowReturn(final Throwable cause)
	{
		super(cause);
	}
	
	public ThrowReturn(final Object hint)
	{
		super(hint);
	}

	public ThrowReturn(final Object hint, final Throwable cause)
	{
		super(hint, cause);
	}
	
}
